home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boot Disc 13
/
boot-disc-1997-09.iso
/
HyprWire
/
DATA.Z
/
05 Whip.mdf
< prev
next >
Wrap
Text File
|
1997-01-28
|
7KB
|
280 lines
kxKinetix
kxType = kxSmalltalkJavaPlugIn
kxModuleDefinition WhipPlugIn =
{
kxPublicName = "Whip"
kxVersion = "1.0"
kxCreationTime = "09/3/96 9:32"
kxAuthor = "Kinetix"
kxLargeIcon = kxBmResType "ModIcons.dll" "WHIP2"
kxSmallIcon = kxBmResType "ModIcons.dll" "WHIP1"
kxLargeIcon24 = kxBmResType "ModIcons.dll" "WHIP2H"
kxSmallIcon24 = kxBmResType "ModIcons.dll" "WHIP1H"
kxSmalltalkLibraries = "Whip"
kxSmalltalkProxyClass = WhipBundle
kxFlags = kxEmbeddedWindow
kxShortDescription = "First Class Plug-in for Whip!."
// kxHelpDoc = "http:/www.kinetix.com/blue/plugin-in-docs/.../help.html"
kxPlugInClass = WhipVisualPlugIn
kxPlugInPackage = "kinetix.hyperc1.runtime"
kxPropertyEditors = WhipBundleEditor OpusLabelCommentEditor ModuleStateEditor SizePositionEditor PortEditor
kxLayoutViewProxyClass = WhipAuthorRep
//vogey I don't think I need this anymore.
kxPersistentFields =
{
kxField FileName=
{
kxJavaSignature = "LString"
kxAccessor = fiSetURL
kxDescription = "The URL for the WHIP! file."
kxDefault = "none"
}
}
// The input ports...
kxInputPorts =
{
kxInclude "Basic.ipt"
// kxInclude "VisualComplete.ipt"
kxInclude "VisualBasicCommon.ipt"
kxInclude "RelativeURL.ipt"
kxInclude "SubImageRect.ipt"
// kxPort Reset =
// {
// kxFlags = kxSystem
// kxJavaMethod = wiReset
// kxJavaSignature = "()Z"
// kxPublicNames = "Reset" "Was Successful"
// }
kxPort GetDefaultView =
{
kxJavaMethod = wiGetDefaultView
kxJavaSignature = "()LHwRectangle"
kxPublicNames = "Get Default View" "Rectangle"
}
kxPort DisableUI =
{
kxJavaMethod = wiDisableUI
kxJavaSignature = "()V"
kxPublicNames = "Disable User Control" "None"
}
kxPort EnableUI =
{
kxJavaMethod = wiEnableUI
kxJavaSignature = "()V"
kxPublicNames = "Enable User Control" "None"
}
kxPort FitToWindow =
{
kxJavaMethod = wiFitToWindow
kxJavaSignature = "()V"
kxPublicNames = "Fit View to Window" "None"
}
kxPort GetDrawingExtent =
{
kxJavaMethod = wiGetDrawingExtent
kxJavaSignature = "()LHwRectangle"
kxPublicNames = "Get Drawing Extent" "Drawing Extent"
}
kxPort GetEnableUI =
{
kxJavaMethod = wiGetEnableUI
kxJavaSignature = "()Z"
kxPublicNames = "UI Enabled?" "true/false"
}
kxPort GetMaintainAspectRatio =
{
kxJavaMethod = wiGetMaintainAspectRatio
kxJavaSignature = "()Z"
kxPublicNames = "Maintain Aspect Ratio?" "true/false"
}
// kxPort GetURL =
// {
// kxJavaMethod = wiGetURL
// kxJavaSignature = "()LString"
// kxPublicNames = "Get URL" "WHIP! URL Name" "None"
// }
kxPort GetView =
{
kxJavaMethod = wiGetCurrentView
kxJavaSignature = "()LHwRectangle"
kxPublicNames = "Get View" "View Rectangle"
}
kxPort GetWindowExtent =
{
kxJavaMethod = wiGetWindowExtent
kxJavaSignature = "()LHwRectangle"
kxPublicNames = "Get Window Extent" "Window Rectangle"
}
kxPort MaintainAspectRatio =
{
kxJavaMethod = wiMaintainAspectRatio
kxJavaSignature = "(Z)V"
kxPublicNames = "Maintain Aspect Ratio" "true/false" "None"
}
kxPort Pan =
{
kxJavaMethod = wiPan
kxJavaSignature = "(LHwNumber;LHwNumber;LHwNumber;LHwNumber;)V"
kxPublicNames = "Pan" "delta X" "delta Y" "number of increments" "delay between increments (milliseconds)" "None"
}
kxPort PanTo =
{
kxJavaMethod = wiPanTo
kxJavaSignature = "(LHwNumber;LHwNumber;LHwNumber;LHwNumber;)V"
kxPublicNames = "Pan To" "X" "Y" "number of increments" "delay between increments (milliseconds)" "None"
}
// kxPort SetURL =
// {
// kxJavaMethod = wiSetURL
// kxJavaSignature = "(LString;)V"
// kxPublicNames = "Set URL" "WHIP! URL Name" "None"
// }
kxPort Print =
{
kxJavaMethod = wiPrint
kxJavaSignature = "(Z)V"
kxPublicNames = "Print" "Quick Print" "None"
}
kxPort SetDefaultView =
{
kxJavaMethod = wiSetDefaultView
kxJavaSignature = "()V"
kxPublicJavaSignature = "()V"
kxPublicNames = "Set to Default View" "None"
}
kxPort SetView =
{
kxJavaMethod = wiSetView
kxJavaSignature = "(LHwRectangle;)V"
kxPublicJavaSignature = "(LHwRectangle;)V"
kxPublicNames = "Set View" "Rectangle" "None"
}
kxPort TranslateViewBy =
{
kxJavaMethod = wiTranslateViewBy
kxJavaSignature = "(LHwNumber;LHwNumber;)V"
//#bug 1931 by to By
kxPublicNames = "Translate View By" "delta X" "delta Y" "None"
}
kxPort TranslateViewTo =
{
kxJavaMethod = wiTranslateViewTo
kxJavaSignature = "(LHwNumber;LHwNumber;)V"
kxPublicNames = "Translate View To" "X" "Y" "None"
}
kxPort ZoomBy =
{
kxJavaMethod = wiZoom
kxJavaSignature = "(LHwObject;LHwNumber;LHwNumber;LHwNumber;LHwNumber;)V"
kxPublicNames = "Zoom By" "center point" "scale X" "scale Y" "number of increments" "delay between increments (milliseconds)" "None"
kxPublicJavaSignature = "(LPoint;LHwNumber;LHwNumber;LHwNumber;LHwNumber;)V"
}
kxPort ZoomTo =
{
kxJavaMethod = wiZoomTo
kxJavaSignature = "(LHwRectangle;LHwNumber;LHwNumber;)V"
kxPublicJavaSignature = "(LRectangle;LHwNumber;LHwNumber;)V"
kxPublicNames = "Zoom To" "rectangle" "number of increments" "delay between increments (milliseconds)" "none"
}
}
// The input port menu structure...
kxInputPortsMenu =
{
Reset
On
Off
Toggle
kxSeparator
SetView
SetDefaultView
GetDefaultView
FitToWindow
SetRelativeURL
GetRelativeURL
Print
kxMenu "More" =
{
kxInclude "Basic.imn"
// Get rid of the bringToFront sendToBack ports and VisualState ports.
// kxInclude "VisualComplete.imn"
kxMenu "Position"
{
kxInclude "PositionBasic.imn"
}
kxInclude "Size.imn"
kxInclude "Visibility.imn"
kxMenu "Aspect Ratio" =
{
GetMaintainAspectRatio
MaintainAspectRatio
}
kxMenu "Inquiry" =
{
GetCurrentView
GetDrawingExtent
GetView
GetWindowExtent
}
kxMenu "Transformations" =
{
Pan
PanTo
TranslateViewBy
TranslateViewTo
ZoomBy
ZoomTo
}
kxMenu "User Interface" =
{
DisableUI
EnableUI
GetEnableUI
}
}
}
// The output ports...
kxOutputPorts =
{
kxPort TransformationDone=
{
kxJavaSignature = "(LString;LHwRectangle;)"
kxPublicNames = "Transformation Done" "Current View" "None"
}
kxPort ZoomError=
{
kxJavaSignature = "(LString;LString;)"
kxPublicNames = "Zoom Error" "Error type" "None"
}
kxPort MediaLoaded =
{
kxJavaSignature = "()V"
kxPublicNames = "Media Loaded" "Not Specified"
}
}
// The output port menu structure...
kxOutputPortsMenu =
{
TransformationDone
ZoomError
MediaLoaded
}
}